VIEW “view name”
VIEW “Cell5”
VIEW “View10”
Use this statement to change the view in the Layout window from within your logic. Once the view has been defined from the View menu in main menu, you can use it in the logic.
All logic.
<view name>
The name of the view defined in the Views dialog. Enclose the name in quotation marks.
You are giving a presentation on the use of simulation for airport design. Two hours into the model run, you want to zoom in on the baggage area to show the activity there. Three hours into the simulation, you want to zoom out to show the entire airport.
INT X=1
WHILE X=1 DO
{
IF CLOCK(hr) = 2 THEN VIEW “
IF CLOCK(hr) = 3 THEN VIEW “
WAIT 1 hr
}
See Also
© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com |